@use '../../scss/variables' as *;

.search-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  padding: 6px 5px 5px 14px;
  border-bottom: 1px solid var(--secondary-color);
  height: $toolbar-height;
  background-color: var(--background-color);

  input {
    appearance: none;
    background-color: var(--background-color);
    border: 0;
    color: var(--primary-color);
    font-size: 16px;
    min-width: 0; // Firefox
    text-overflow: ellipsis !important;
    width: 100%;

    &:focus {
      outline: none;
    }
  }

  .icon-button {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
  }

  .icon-cross-small {
    transition: $anim-transition;
  }
}
